<?php
namespace Home\Controller;
use Think\Controller;
class NoticeController extends CommonController {
	//尾部 新闻公告
    public function news_index()
    {
        //公共显示变量
        $this->public_xianshi();

        $stutags = M('stutags')->where('id=1')->getField('content');
        $this->assign('stutags',$stutags);

        $this->display();
    }
    //新闻报导
    public function news_report()
    {
        $stutags = M('stutags')->where('id=2')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();


        $this->display();
    }

    //家长帮助 师资如何保障
    public function jz_help()
    {
        $stutags = M('stutags')->where('id=3')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();

        $this->display();
    }
    //家长帮助 常见支付问题
    public function jz_pay()
    {
        $stutags = M('stutags')->where('id=4')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();
        
        $this->display();
    }

    //老师帮助 约课授课流程
    public function ls_help()
    {
        $stutags = M('stutags')->where('id=5')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();

        $this->display();
    }
    //老师帮助 课时费保障
    public function ls_baozhan()
    {
        $stutags = M('stutags')->where('id=6')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();
        
        $this->display();
    }


    //关注我们 联系我们
    public function lianxi_my()
    {
        $stutags = M('stutags')->where('id=7')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();
        
        $this->display();
    }
    //关注我们 意见反馈
    public function lianxi_yijian()
    {
        $stutags = M('stutags')->where('id=8')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();
        
        $this->display();
    }


    //服务协议 老师协议
    public function ls_xieyi()
    {
        $stutags = M('stutags')->where('id=9')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();
        
        $this->display(); 
    }
    //服务协议 家长协议
    public function jz_xieyi()
    {
        $stutags = M('stutags')->where('id=10')->getField('content');
        $this->assign('stutags',$stutags);

        //公共显示变量
        $this->public_xianshi();
        
        $this->display(); 
    }





}